package com.example.forum.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Setter
@Getter
@ApiModel(value="数据字典")
public class DataDictionaryModel {

    @NotBlank(message = "名称不能为空")
    @ApiModelProperty(value="Name")
    private String Name ;
    @ApiModelProperty(value="Value")
    private String Value ;
    @ApiModelProperty(value="Description")
    private String Description ;
    @ApiModelProperty(value="Sort")
    private Integer Sort ;
    @ApiModelProperty(value="Tips")
    private String Tips ;
    @ApiModelProperty(value="CustomType")
    private Integer CustomType ;
    @ApiModelProperty(value="CustomAttributes")
    private String CustomAttributes ;
    @ApiModelProperty(value="ParentId")
    private String ParentId ;
    @ApiModelProperty(value="Id")
    private String Id ;
}
